Fix a small leak in ostree_repo_remote_list_collection_refs
authorMatthias Clasen <mclasen@redhat.com>
Sat, 15 Dec 2018 20:19:46 +0000 (15:19 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 20 Dec 2018 18:10:16 +0000 (18:10 +0000)
commitee988f69aa56bab011ef55f5d561ebec23531ce4
tree9407d20952381724dc1a50fe4f41302f7f4b5df3
parentf0719681f90b272c089440f436f358fad79c4e06
Fix a small leak in ostree_repo_remote_list_collection_refs

g_variant_iter_loop would free the value for us,
but not if we're returning from the middle of the
loop body.

Closes: #1788
Approved by: cgwalters
src/libostree/ostree-repo-refs.c